3.1.67 \(\int (\frac {x}{\sin ^{\frac {3}{2}}(e+f x)}+x \sqrt {\sin (e+f x)}) \, dx\) [67]

Optimal. Leaf size=38 \[ -\frac {2 x \cos (e+f x)}{f \sqrt {\sin (e+f x)}}+\frac {4 \sqrt {\sin (e+f x)}}{f^2} \]

[Out]

-2*x*cos(f*x+e)/f/sin(f*x+e)^(1/2)+4*sin(f*x+e)^(1/2)/f^2

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {3396} \begin {gather*} \frac {4 \sqrt {\sin (e+f x)}}{f^2}-\frac {2 x \cos (e+f x)}{f \sqrt {\sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/Sin[e + f*x]^(3/2) + x*Sqrt[Sin[e + f*x]],x]

[Out]

(-2*x*Cos[e + f*x])/(f*Sqrt[Sin[e + f*x]]) + (4*Sqrt[Sin[e + f*x]])/f^2

Rule 3396

Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(c + d*x)*Cos[e + f*x]*((b*Si
n[e + f*x])^(n + 1)/(b*f*(n + 1))), x] + (Dist[(n + 2)/(b^2*(n + 1)), Int[(c + d*x)*(b*Sin[e + f*x])^(n + 2),
x], x] - Simp[d*((b*Sin[e + f*x])^(n + 2)/(b^2*f^2*(n + 1)*(n + 2))), x]) /; FreeQ[{b, c, d, e, f}, x] && LtQ[
n, -1] && NeQ[n, -2]

Rubi steps

\begin {align*} \int \left (\frac {x}{\sin ^{\frac {3}{2}}(e+f x)}+x \sqrt {\sin (e+f x)}\right ) \, dx &=\int \frac {x}{\sin ^{\frac {3}{2}}(e+f x)} \, dx+\int x \sqrt {\sin (e+f x)} \, dx\\ &=-\frac {2 x \cos (e+f x)}{f \sqrt {\sin (e+f x)}}+\frac {4 \sqrt {\sin (e+f x)}}{f^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.24, size = 33, normalized size = 0.87 \begin {gather*} \frac {-2 f x \cos (e+f x)+4 \sin (e+f x)}{f^2 \sqrt {\sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/Sin[e + f*x]^(3/2) + x*Sqrt[Sin[e + f*x]],x]

[Out]

(-2*f*x*Cos[e + f*x] + 4*Sin[e + f*x])/(f^2*Sqrt[Sin[e + f*x]])

________________________________________________________________________________________

Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \frac {x}{\sin \left (f x +e \right )^{\frac {3}{2}}}+x \left (\sqrt {\sin }\left (f x +e \right )\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/sin(f*x+e)^(3/2)+x*sin(f*x+e)^(1/2),x)

[Out]

int(x/sin(f*x+e)^(3/2)+x*sin(f*x+e)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sin(f*x+e)^(3/2)+x*sin(f*x+e)^(1/2),x, algorithm="maxima")

[Out]

integrate(x*sqrt(sin(f*x + e)) + x/sin(f*x + e)^(3/2), x)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sin(f*x+e)^(3/2)+x*sin(f*x+e)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (\sin ^{2}{\left (e + f x \right )} + 1\right )}{\sin ^{\frac {3}{2}}{\left (e + f x \right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sin(f*x+e)**(3/2)+x*sin(f*x+e)**(1/2),x)

[Out]

Integral(x*(sin(e + f*x)**2 + 1)/sin(e + f*x)**(3/2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/sin(f*x+e)^(3/2)+x*sin(f*x+e)^(1/2),x, algorithm="giac")

[Out]

integrate(x*sqrt(sin(f*x + e)) + x/sin(f*x + e)^(3/2), x)

________________________________________________________________________________________

Mupad [B]
time = 1.05, size = 36, normalized size = 0.95 \begin {gather*} \frac {4\,{\sin \left (e+f\,x\right )}^2-f\,x\,\sin \left (2\,e+2\,f\,x\right )}{f^2\,{\sin \left (e+f\,x\right )}^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*sin(e + f*x)^(1/2) + x/sin(e + f*x)^(3/2),x)

[Out]

(4*sin(e + f*x)^2 - f*x*sin(2*e + 2*f*x))/(f^2*sin(e + f*x)^(3/2))

________________________________________________________________________________________